package req

import "gitee.com/zaiqiang231/lovesport-user-service/app/model"

type PolicyCreateReq struct {
	Name   string           `json:"name" validate:"required,name"`
	Policy model.AuthPolicy `json:"policy,omitempty" gorm:"-" validate:"omitempty"`
}

type PolicyUpdateReq struct {
	Policy model.AuthPolicy `json:"policy,omitempty" gorm:"-" validate:"omitempty"`
}
